<?php
namespace app\passport\model;
use think\Model;

class Article extends Model
{

	public function getList($limit = 20)
	{
		return $this->field("id,cata_id,title,description,time_update")->where('status',1)->order('time_create desc')->paginate($limit);
	}

}